package com.hopes.bizz.risk.parkgis.vo;

import com.hopes.boss.admin.api.resolver.DictResolver;
import com.hopes.boss.admin.api.resolver.enums.AdminDictEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 基本信息统计
 * @time 2023/11/13 9:51
 */
@Data
public class BasicInfoVO implements Serializable {

    private static final long serialVersionUID = -4206675169644091424L;

    /**
     * 企业
     */
    private Long orgId;

    /**
     * 风险分析对象数据
     */
    private Integer objectNum;

    /**
     * 风险事件数量
     */
    private Integer eventNum;

    /**
     * 隐患数量
     */
    private Integer hiddenNum;


    public String getOrgIdStr() {
        return DictResolver.getItemLabelByValue(AdminDictEnum.sys_company, this.getOrgId());
    }

}
